package com.xiaoxu.intranetweb.mybatisplusSzappdb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 卡授权记录表
 * </p>
 *
 * @author xiaoxu
 * @since 2022-12-27
 */
@TableName("c_ic_cards_auth")
@ApiModel(value = "CIcCardsAuth对象", description = "卡授权记录表")
@Data
public class CIcCardsAuth implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("卡ID 来自c_ic_cards_inf CARDINF_ID")
    private String cardauthCardId;

    @ApiModelProperty("卡号 复制c_ic_cards_inf CARDINF_CARDNO")
    private String cardauthCardno;

    @ApiModelProperty("授权司机 USER ID")
    private String cardauthDriverUserid;

    @ApiModelProperty("创建时间")
    private LocalDateTime cardauthCreateTime;

    @ApiModelProperty("授权开始时间")
    private LocalDateTime cardauthStartTime;

    @ApiModelProperty("授权结束时间")
    private LocalDateTime cardauthEndTime;

    @ApiModelProperty("单位ID 复制c_ic_cards_inf CARDINF_CO,CARDINF_CHI_CO对应的c_companys CPY_ID")
    private BigDecimal cardauthCpyId;

    @ApiModelProperty("授权人USER ID")
    private String cardauthOperUserid;

    @ApiModelProperty("状态 0正常(近期)  1(撤销)")
    private Integer cardauthState;

    @ApiModelProperty("撤销时间")
    private LocalDateTime cardauthRevokeTime;

    @ApiModelProperty("删除状态 0未删除 1删除")
    private Integer cardauthDeleted;

    @ApiModelProperty("当服务器断开时所增加/修改过的记录")
    private Boolean cardauthNew;
    @TableField("DownedID1")
    private Integer downedID1;
@TableField("DownedID2")
    private Integer downedID2;
@TableField("DownedID3")
    private Integer downedID3;
@TableField("DownedID4")
    private Integer downedID4;
@TableField("DownedID5")
    private Integer downedID5;
@TableField("DownedID6")
    private Integer downedID6;
@TableField("DownedID7")
    private Integer downedID7;
@TableField("DownedID8")
    private Integer downedID8;
@TableField("DownedID9")
    private Integer downedID9;
@TableField("DownedID10")
    private Integer downedID10;
@TableField("DownedID11")
    private Integer downedID11;
@TableField("DownedID12")
    private Integer downedID12;
@TableField("DownedID13")
    private Integer downedID13;
@TableField("DownedID14")
    private Integer downedID14;
@TableField("DownedID15")
    private Integer downedID15;
@TableField("DownedID16")
    private Integer downedID16;
@TableField("DownedID17")
    private Integer downedID17;
@TableField("DownedID18")
    private Integer downedID18;
@TableField("DownedID19")
    private Integer downedID19;
@TableField("DownedID20")
    private Integer downedID20;

    @ApiModelProperty("电厂ID")
    private String dataFrom;


}
